
<!DOCTYPE html>
<html lang="en-US">
<head>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="keywords" content="Yii2教程,Yii2项目" />
    <meta name="description" content="为人民服务, 只为人民服务" />
    <title>smister-个人博客</title>
    <script src="./js/jquery.js"></script>
</head>
<body>
    <div class="wrap">
        <nav id="w0" class="navbar-inverse navbar-fixed-top navbar" role="navigation">
			<div class="container">
			<div class="navbar-header">
				<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#w0-collapse">
					<span class="sr-only">Toggle navigation</span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</button>
				<a class="navbar-brand" href="">Smister</a>
			</div>
			<div id="w0-collapse" class="collapse navbar-collapse">
			<ul id="w1" class="navbar-nav navbar-right nav">
			<form class="form-group pull-left" onsubmit="return false;" >
					 <input name="search" value="" id="search-content" type="text" class="form-control" placeholder="站内搜索">
					 <a href="javascript:void(0)" id="searching"><i class="glyphicon glyphicon-search icon-white"></i></a>
			</form>
			<li class="active"><a href="">首页</a></li>
		</nav>
        <div class="container">
            <link rel="stylesheet" href="/css/bluebox.css" />
<div class="container">
    <div class="row">
        <div class="col-md-12">
        <!-- 内容 -->
        <div class="content">
            <article class="thread thread-card  article-nav">
                <a href="">首页</a> &gt; <a href="/article/category/3.html">Yii2</a> &gt; <span>test</span>
            </article>
            <div class="card thread-card ps-parent">
                <div class="status-btn" id="i-like">赞<span>11<span></div>
                <header class="page-header with-author">
                    <h2 style="padding-right:30px;">test</h2>
                    <div class="thread-meta">
                        <span class="article-info">作者：smister</span>
                        <span class="article-info">&nbsp;更新时间：<time>2016-05-18</time></span>
                        <span class="article-info">&nbsp;浏览次数：114</span>
                    </div>
                </header>
                <div class="inner markdown-body">
                <!-- 内容-->
                testtestsetestestset                <!-- 内容-->
                </div>
            </div>
        </div>
        <!-- 评论 -->
        <div class="card">
            <div class="comments">
                <div id="ds-thread" class="ds-thread">
                    <div id="ds-reset">
                        <!-- 评论回复框 -->
                        <div class="ds-replybox">
                            <a class="ds-avatar" href="javascript:void(0);">
                                <img src="/images/recomment.jpg" alt="smister">
                            </a>
                            <form method="post" class="comment-form">
                                <div class="ds-post-options ds-gradient-bg" style="margin-bottom:10px;">
                                    <input type="text" value="" placeholder="名称" id="name" class="ds-name" />
                                </div>
                                <div class="ds-textarea-wrapper ds-rounded-top">
                                    <textarea id="message" placeholder="亲 , 想评论必须先登录哦."></textarea>
                                    <pre class="ds-hidden-text"></pre>
                                </div>
                                <div class="ds-post-toolbar">
                                    <div class="ds-post-options ds-gradient-bg"><span class="ds-sync"></span></div>
                                    <button class="ds-post-button" type="button" id="submit-recomment">发布</button>
                                    <div class="ds-toolbar-buttons">
                                    </div>
                                </div>
                            </form>
                        </div>
                        <!-- 用户评论列表 -->
                        <div class="ds-comments-info">
                            <div class="ds-sort">
                                <a class="ds-order-desc ds-current" data="DESC">最新</a>
                            </div>
                            <ul class="ds-comments-tabs">
                                <li class="ds-tab">
                                    <a href="javascript:void(0);" class="ds-comments-tab-duoshuo ds-current">
                                        <span class="ds-highlight" id="recomment-count">0</span>条评论
                                    </a>
                                </li>
                            </ul>
                        </div>
                        <ul id="comments-list" class="ds-comments">
<!--                            <li class="ds-post">-->
<!--                                <div data-source="duoshuo" class="ds-post-self">-->
<!--                                    <div class="ds-avatar">-->
<!--                                        <img alt="smister" src="http://qzapp.qlogo.cn/qzapp/101196234/CCF0E87444307C250B53A314957416F4/50">-->
<!--                                    </div>-->
<!--                                    <div class="ds-comment-body">-->
<!--                                        <div class="ds-comment-header">-->
<!--                                            <span data-qqt-account="" class="ds-user-name"><a class="ds-user-name ds-highlight">53Liu</a></span>-->
<!--                                        </div>-->
<!--                                        <p>sdf            </p>-->
<!--                                        <div class="ds-comment-footer ds-comment-actions">-->
<!--                                            <span class="ds-time">2016年02月17日 15:52:22</span>-->
<!--                                            <a href="javascript:void(0);" class="ds-post-reply" onclick="showComment(this);" data="3">-->
<!--                                            <span class="ds-icon ds-icon-reply"></span>回复                    </a>-->
<!--                                        </div>-->
<!--                                    </div>-->
<!--                                </div>-->
<!--                                <ul class="ds-comments" style="padding-left:25px;">-->
<!--                                </ul>-->
<!--                            </li>-->
<!--                            <li class="ds-post">-->
<!--                                <div data-source="duoshuo" class="ds-post-self">-->
<!--                                    <div class="ds-avatar">-->
<!--                                        <img alt="smister" src="http://qzapp.qlogo.cn/qzapp/101196234/CCF0E87444307C250B53A314957416F4/50">-->
<!--                                    </div>-->
<!--                                    <div class="ds-comment-body">-->
<!--                                        <div class="ds-comment-header">-->
<!--                                            <span data-qqt-account="" class="ds-user-name"><a class="ds-user-name ds-highlight">53Liu</a></span>-->
<!--                                        </div>-->
<!--                                        <p>sdf            </p>-->
<!--                                        <div class="ds-comment-footer ds-comment-actions">-->
<!--                                            <span class="ds-time">2016年02月17日 15:52:22</span>-->
<!--                                            <a href="javascript:void(0);" class="ds-post-reply" onclick="showComment(this);" data="3">-->
<!--                                            <span class="ds-icon ds-icon-reply"></span>回复                    </a>-->
<!--                                        </div>-->
<!--                                    </div>-->
<!--                                </div>-->
<!--                                <ul class="ds-comments" style="padding-left:25px;">-->
<!--                                     <li class="ds-post">-->
<!--                                        <div data-source="duoshuo" class="ds-post-self">-->
<!--                                            <div class="ds-avatar">-->
<!--                                                    <img alt="smister" src="http://qzapp.qlogo.cn/qzapp/101196234/CCF0E87444307C250B53A314957416F4/50"/>-->
<!--                                            </div>-->
<!--                                            <div class="ds-comment-body">-->
<!--                                                <div class="ds-comment-header">-->
<!--                                                    <span data-qqt-account="" class="ds-user-name"><a class="ds-user-name ds-highlight">smister</a></span>-->
<!--                                                </div>-->
<!--                                                <p>-->
<!--                                                                我是子回复-->
<!--                                                </p>-->
<!--                                                <div class="ds-comment-footer ds-comment-actions">-->
<!--                                                        <span class="ds-time">2016年02月17日 15:52:22</span>-->
<!--                                                        <a href="javascript:void(0);" class="ds-post-reply" onclick="showComment(this);" data="' + jsonData['data'][dd]['commentData']  + '">-->
<!--                                                             <span class="ds-icon ds-icon-reply"></span>回复-->
<!--                                                        </a>-->
<!--                                                </div>-->
<!--                                            </div>-->
<!--                                        </div>-->
<!--                                    </li>-->
<!--                                </ul>-->
<!--                            </li>-->
                        </ul>
                        <div id="cmpage" class="ds-paginator">
<!--                            <ul id="yw0" class="yiiPager">-->
<!--                                <li class="previous hidden"><a href="javascript:;">上一页</a></li>-->
<!--                                <li class="selected"><a href="javascript:;" onclick="ajaxData(this,0)" data="sort=DESC&amp;rid=29">1</a></li-->
<!--                                <li class="next hidden"><a href="javascript:;">下一页</a></li>-->
<!--                            </ul>-->
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- 评论 -->
    </div>
    </div>
</div>
<script type="text/javascript">
    var rid = '1';
    var member_img = '/images/recomment.jpg';
    var load_img = '/common/images/loading_hor.gif';
    var globalUpUrl = '/site/up.html';
    var globalRecommentUrl = '/site/recomment.html';
    var globalCommentlistUrl = '/site/recomment-list.html';
</script>
<script type="text/javascript" src="/js/comment.js"></script>
<link rel="stylesheet" href="/css/article_detail.css" />        </div>
    </div>
<footer class="footer" style="height:auto;min-height:60px;background-color:#373737;">
        <div class="container">
            <p class="pull-left">&copy; Smister 2016 | 粤ICP备14038179号</p>
        </div>
</footer>
<link href="/css/bootstrap.css" rel="stylesheet" />
<link href="/css/site.css" rel="stylesheet" />
<link href="/css/style.css" rel="stylesheet" />
<script src="/js/bootstrap.js"></script>
<script type="text/javascript">
    var globalSearchUrl = '/site/search.html';
    $("#searching").click(function(){
        search($(this).siblings("input").val());
    });

    $("#search-content").keyup(function(e){
        if(e.keyCode == 13){
            search($(this).val());
        }
    });

    function search(search){
        search = $.trim(search);
        if(search == ""){
            alert("请输入搜索的内容");
            return false;
        }

        if(search.length > 255){
            alert("输入搜索的内容过长");
            return false;
        }

        var searchUrl = '';
        //$_GET['search']
        if(globalSearchUrl.indexOf("?") == -1){
            searchUrl = globalSearchUrl + '?&search=' + search;
        }else{
            searchUrl = globalSearchUrl + '&search=' + search;
        }

        window.location.href = searchUrl;

    }
</script>
</body>
</html>
